import requests, urllib3
import time
import os
import zipfile
from openpyxl import Workbook
from datetime import datetime
from bs4 import BeautifulSoup
import yaml

# with open('config.yml', 'r', encoding='utf-8') as f:
#     file_content = config = yaml.safe_load(f)
# print(file_content['oa_url']['search_url'])

# # 全局变量 
# # 读取本地Cookie文件
# with open('cookie_oa.txt', 'r', encoding='utf-8') as file:
#     cookie = file.read()  # 读取全部内容

# # 读取本地urls文件
# # with open('urls.txt', 'r', encoding='utf-8') as file:
# #     data = json.load(file)
 
# # get_page_url = data['getPage']
# # get_det_url = data['getDet']